package com.gitee.nacos.myregistrar;

import com.gitee.nacos.config.MyNacosDiscoveryProperties;

public class MyNacosServiceRegistry {

    private MyNacosDiscoveryProperties nacosDiscoveryProperties;

    public MyNacosServiceRegistry(MyNacosDiscoveryProperties nacosDiscoveryProperties) {
        this.nacosDiscoveryProperties = nacosDiscoveryProperties;
    }

    public void register() {
        System.out.println("获取服务名称：" + nacosDiscoveryProperties.getService());
        System.out.println("构建instance");
        System.out.println("调用服务端接口");
    }
}
